import React, { Component,PropTypes } from 'react'


import {
	View,
	Text,
	StyleSheet
}from 'react-native';
export default class Cell extends Component {

	render(){
		return(
      			<View style = {styles.contentText}>
					<Text style = {{margin: as(10)}}>
						{this.props.text}
					</Text>
                </View>


		)
	}
}

var styles = StyleSheet.create({
	contentText: {
		height: as(50),
		justifyContent: 'center',
		alignItems: 'center',
		flex: 1,
		borderWidth: 1,
		borderColor: 'rgb(230,230,230)',
	},
})